package com.yc.cloud.portal.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yc.cloud.basic.dto.BaseQueryParam;
import com.yc.cloud.entity.AvatarsSetting;

import java.util.List;

/**
 * <p>
 * 数字人设置 服务类
 * </p>
 *
 * @author Yancy
 * @since 2024-04-10
 */
public interface AvatarsSettingService extends IService<AvatarsSetting> {

    /***
     * description:查询列表
     * @param param 查询条件
     * @return 数据信息
     */
    IPage<AvatarsSetting> list(BaseQueryParam param);

    AvatarsSetting convertVo(AvatarsSetting avatarssetting);

    List<AvatarsSetting> convertVo(List<AvatarsSetting> avatarssettingList);

    AvatarsSetting create(AvatarsSetting param);

    AvatarsSetting get(Long id);

    AvatarsSetting update(Long id, AvatarsSetting avatarssetting);

    boolean delete(Long id);

    AvatarsSetting getByCompanyIdAndAvatarId(Long currentCompanyId, Long id);
}



